package article.exceptions;

import java.util.ArrayList;

import sale.entities.OrderVO;
import article.entities.ArticleVO;
import article.entities.IngredientVO;

public class OutOfStockIngredientsException extends Exception {

	private static final long serialVersionUID = 1L;
	private ArrayList<ArticleVO> arts;
	private ArrayList<IngredientVO> ingr;
	private OrderVO ord; //esta orden never goes through - pero para saber que pidio y que cambiar

	public ArrayList<ArticleVO> getArts() {
		return arts;
	}

	public void setArts(ArrayList<ArticleVO> arts) {
		this.arts = arts;
	}

	public ArrayList<IngredientVO> getIngr() {
		return ingr;
	}

	public void setIngr(ArrayList<IngredientVO> ingr) {
		this.ingr = ingr;
	}	
	public OrderVO getOrd() {
		return ord;
	}

	public void setOrd(OrderVO ord) {
		this.ord = ord;
	}

	public OutOfStockIngredientsException(ArrayList<ArticleVO> arts,
			ArrayList<IngredientVO> ingr, String s) {
		super(s);
		this.arts = arts;
		this.ingr = ingr;
	}



}
